<?php
class Woman extends Person {
    protected $name = '女人';
    public function accept(State $visitor) {
        $visitor->WomanAction($this);
    }
}